package project.model.adt;

import java.util.List;

public class Question {
	public final long id;
	public final String title;
	public final String description;
	public final long dateAsked;
	public final long askerId;
	public final long votes;
	public final List<Answer> answers;

	public Question(long id, String title, String description, long dateAsked,
			long askerId, long votes, List<Answer> answers) {
		this.id = id;
		this.title = title;
		this.description = description;
		this.dateAsked = dateAsked;
		this.askerId = askerId;
		this.votes = votes;
		this.answers = answers;
	}

	@Override
	public String toString() {
		return "Question [id=" + id + ", title=" + title + ", description="
				+ description + ", dateAsked=" + dateAsked + ", askerId="
				+ askerId + ", votes=" + votes + ", answers=" + answers + "]";
	}

}
